package com.yz.jdd.module.main.presenter;


import com.yz.jdd.base.activity.IBaseView;
import com.yz.jdd.module.main.adapter.CashierOrdersAdapter;
import com.yz.jdd.module.main.adapter.OrdersAdapter;

public class FilterOrderContract {

    public interface View extends IBaseView {
        void setPresenter(FilterOrderPresenter presenter);

        void setAdapter();

        void setCashAdapter();

        void noMore();

        void More();

        void noData();

        void Data();

        void refreshComplete(boolean isRefresh);

        void expandGroup(int i);

        void expandGroup();

    }

    public interface Presenter {

        void doGetOrderList(boolean isRefresh, String bizType,String payType, String orderStatus, String orderSource,
                            String shopId, String startTime, String entTime,String order,String deviceId,String operatorId);

        //筛选收银订单
        void doGetFilterCashierOrderList(boolean isRefresh,String bizType, String payType, String orderStatus, String orderSource,
                                         String shopId, String startTime, String entTime,String deviceId,String operatorId);



        void startOrderDetail(int groupPosition, int childPosition, boolean isCash,String orderType);


        OrdersAdapter getAdapter();

        CashierOrdersAdapter getCashAdapter();
    }
}
